package mvv.learn.spring.service;

import mvv.learn.spring.anno.HelloTheWorld;
import mvv.learn.spring.utilities.AppParam;
import mvv.learn.spring.utilities.ResResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author Manh Vu
 */
@Service
public class MyTestService {
	private static final Logger log = LoggerFactory.getLogger(MyTestService.class);

	/**
	 * @author Manh Vu
	 */
	@HelloTheWorld("Manh Vu")
	public ResResponse helloTheWorld() {
		log.debug("### helloTheWorld ###");
		return (new ResResponse(AppParam.V_GOOD, null, "World"));
	}

}
